package cn.ven.service;

import cn.ven.entity.Blog;
import cn.ven.entity.BlogTypeContent;

import java.util.List;

public interface BlogService {
    public void addBlog(Blog blog);
    public void delBlog(String id);
    public BlogTypeContent findBlogTypeContent(String id);
    public List<Blog> findAll(int isdel);
    public Blog findById(String id);
    public List<Blog> findByUid(String uid);
    public void updateThmub_mum(String id);
    public void updateReading_mum(String id);
    public List<Blog>  findBlogByTypeid(String typeid);
    public void reduceThmub_mum(String id);
    public void falseDel(String id);
    public List<Blog> findMyDelBlogs();
    public void recoverBlog(String id);
}
